package com.fz.us.oa.core.service.com.impl;


import com.fz.us.admin.base.dao.BaseDao;
import com.fz.us.admin.base.service.impl.BaseServiceImpl;

import com.fz.us.admin.company.entity.User;
import com.fz.us.oa.core.dao.com.CommonModelDao;

import com.fz.us.oa.core.entity.com.CommonModel;

import com.fz.us.oa.core.service.com.CommonModelService;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;


/**
 * Created by ZhuChunXiao on 2017/7/21.
 */
@Service
public class CommonModelServiceImpl extends BaseServiceImpl<CommonModel,String> implements CommonModelService {
    @Resource
    CommonModelDao commonModelDao;

    @Override
    public BaseDao<CommonModel, String> getBaseDao() {
        return commonModelDao;
    }


    @Override
    public int delCommonModel(User user) {
        return commonModelDao.delCommonModel(user);
    }
}
